package Java_2_1;


import java.util.Scanner;

public class Java_2_1_4 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.print("请输入一个数:");
        double a=sc.nextDouble();
        System.out.print("请输入一个数:");
        double b=sc.nextDouble();
        System.out.println("和:"+(a+b));
        System.out.println("差:"+(a-b));
        System.out.println("积:"+(a*b));
        System.out.println("商:"+(a/b));
        System.out.println("模:"+(a%b));

    }

}
